package com.mdz.sbgl.Entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 孟德志
 * @since 2023-08-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fwdzb")
public class Fwdzb extends Model<Fwdzb> {

    private static final long serialVersionUID=1L;

    /**
     * 访问地址表自增长ID号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司编码
     */
    @TableField("gsid")
    private String gsid;

    /**
     * 协议字符串
     */
    @TableField("xxzf")
    private String xxzf;

    /**
     * IP地址
     */
    @TableField("ipdz")
    private String ipdz;

    /**
     * 端口号
     */
    @TableField("port")
    private String port;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
